package ${pkg};

import java.util.List;
import java.util.Map;

import com.blue.jdbc.Page;
import ${messagePkg}.${clazz}Request;
import ${messagePkg}.${clazz}Response;
<#if impList??>
<#list impList as vo>
import ${vo};
</#list>
</#if>

/**
 * ${name}接口
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 ${.now?string("yyyy年MM月dd日")}
 */
public interface ${clazz}Facade
{

	/**
	 * 添加${name}
	 */
	${clazz}Response add(${clazz}Request request);

	/**
	 * 更新${name}
	 */
	${clazz}Response update(${clazz}Request request);
	
	/**
	 * 查询单个${name}
	 */
	${clazz}Response get(Integer id);
	
	/**
	 * 查询${name}，分页
	 */
	Page<${clazz}Response> listPage(${clazz}Request request, int start, int size);
	
}
